#ifndef TIMER_H
#define TIMER_H

#include "Singleton.h" 

// This is the better version of the timer class

class Timer : public Uncopyable
{
private:
	Timer();

public:
	~Timer();
	void Update();
	float GetDT() const;
	friend class Singleton<Timer>;

private:
	float m_dt;
	float m_previousTicks;
};

typedef Singleton<Timer> TheTimer;

#endif